/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;
import java.io.Serializable;

/**
 *
 * @author isen
 */
public class User implements Serializable{
    String name;
    String address;
    String username;
    String password;
    String formatDePago;
    //char status; 
    String status; // 'c' for a client, 'a' for administrator

    
    public User() {
    }
     
    public User(String nombre, String direccion, String username, String formatDePago, String pass, String permisios) {
        this.name = nombre;
        this.address = direccion;
        this.username = username;
        this.formatDePago = formatDePago;
        this.password = pass;
        this.status = permisios;
    }

    public User(String username,String password){
        this.username = username;
        this.password = password;
    }
    
    
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getFormatDePago() {
        return formatDePago;
    }

    public void setFormatDePago(String formatDePago) {
        this.formatDePago = formatDePago;
    }

    public String getUsername() {
        return username ;
    }

    public void setUsername(String username) {
        this.username = username ;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String pass) {
        this.password = pass;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String permisios) {
        this.status = permisios;
    }
    
}
